let dog1 = { name:'阿达',a:1,b:2,1:'c',d:3}
for(let key in dog1){
    console.log(dog1[key]);
}
let dog2 = {dog1:'11'}
const strong = new Map(); // hashMap
// Map {} 区别
// set API 更丰富
strong.set(dog1,'阿达是好狗');
strong.set('a',1);
strong.set('1','c');
strong.set('b',2);

// console.log(strong)
for(let [key,val] of strong){
    console.log(key,val)
}